package com.zhibang.comnom.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Jcjl {
    private String name;
    private String phone;
    private Integer sex;
    private Integer age;
    private double weight;
    private double height;
    private double bmiResult;
    private double gluResult;
    private long gluFoodStatus;
    private double hbaicResult;
    private long uaResult;
    private double hdlCResult;
    private double ldlCResult;
    private double tgResult;
    private double cholResult;
    private double tcHdlCResult;
    private double ketResult;
    private long sbpResult;
    private long dbpResult;
    private Integer countOfTest;

    private String mmHg;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date lastTestTime;


}
